export const useFormEdit = (): IItemArray[] => {
  return [
    {
      name: 'excelTemplateName',
      label: '文件模板名称',
      type: 'Input',
      placeholder: '请输入文件模板名称',
      rules: [
        {
          required: true,
          message: '请输入文件模板名称',
        },
      ],
      config: {
        showCount: true,
        maxLength: 30,
      },
    },
    {
      name: 'fileUrl',
      label: '文件模板',
      type: 'UploadFile',
      config: {
        max: 1,
      },
      rules: [
        {
          required: true,
          message: '请上传文件模板',
        },
      ],
    },
  ]
}
